home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / game / shoot / athrust.lha / AmigaThrust / src / hiscore.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-09-05  |  481 b   |  28 lines

  1.  
  2. /* Written by Peter Ekberg, peda@lysator.liu.se */
  3.  
  4. #ifndef HISCORE_H
  5. #define HISCORE_H
  6.  
  7. #include "thrust_t.h"
  8.  
  9. #define HIGHSCORES (5)
  10.  
  11. typedef struct {
  12.   char name[40];
  13.   int score;
  14. } highscoreentry;
  15.  
  16. extern highscoreentry highscorelist[HIGHSCORES];
  17.  
  18. #ifdef __STDC__
  19. void writehighscores(void);
  20. int readhighscores(void);
  21. char *standardname(void);
  22. int inithighscorelist(void);
  23. int ahighscore(int score);
  24. void inserthighscore(char *name, int score);
  25. #endif
  26.  
  27. #endif /* HISCORE_H */
  28.